package com.ecustbookstore.mymall.config;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

/**
 * @description:
 * @author: Tian
 * @time: 2021/6/1 22:51
 */
//@MapperScan注解的作用在于为扫描到的包下的所有mapper接口添加@mapper注解
@Configuration
@MapperScan({"com.ecustbookstore.mymall.dao","com.ecustbookstore.mymall.mbg.mapper"})
public class MybatisConfig {
}
